home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / xinetd / sio.1.5.6 / Config / sysv-config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-09  |  2.4 KB  |  91 lines

  1. /*
  2.  * (c) Copyright 1992 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. /*
  8.  * $Id: sysv-config.h,v 7.3 1992/06/22 21:48:04 panos Exp $
  9.  */
  10.  
  11. /*
  12.  * System V, Release [23] configuration file
  13.  */
  14.  
  15. /*
  16.  * NOTE: ALL BINARY FLAGS MUST BE EITHER define'd OR undef'ed.
  17.  *           DO NOT SKIP FLAGS; undef THEM
  18.  */
  19.  
  20.  
  21. /************************ MEMORY MAPPING ****************************/
  22.  
  23. /*
  24.  * Either define or undef MEMORY_MAP
  25.  * If you define it, you must also define the memory mapping interface
  26.  * functions: SIO_MMAP, SIO_MUNMAP, SIO_MNEED
  27.  * SIO_MNEED is not necessary; if your OS does not support it
  28.  * define it to nothing.
  29.  */ 
  30. #undef MEMORY_MAP
  31.  
  32. /************************ FINALIZATION CODE ****************************/
  33.  
  34. /*
  35.  * Either define or undef HAS_FINALIZATION
  36.  * If you define it, you must define the macros SIO_FINALIZE
  37.  * and SIO_DEFINE_FIN
  38.  * SIO_FINALIZE has a function as an argument and its value
  39.  * is an expression whose value is TRUE if the finalization function
  40.  * was successfully installed
  41.  * SIO_DEFINE_FIN has a function as an argument and created an
  42.  * appropriate function definition.
  43.  */
  44. #undef HAS_FINALIZATION_FUNCTION
  45.  
  46.  
  47. /************************ GENERAL CONSTANTS ****************************/
  48.  
  49. /*
  50.  * Define at most 1 of the following two flags
  51.  */
  52. #define HAS_MEMOPS
  53. #undef HAS_BCOPY
  54.  
  55. /*
  56.  * Define HAS_ISATTY if the function isatty( fd ) exists in the C library
  57.  */
  58. #undef HAS_ISATTY
  59. #define SYSV_TTY
  60.  
  61. /*
  62.  * N_SIO_DESCRIPTORS is the maximum number of file descriptors
  63.  * supported by the OS
  64.  *
  65.  * XXX: This has not been tested. The number of file descriptors
  66.  *          may reside at a different place and have a different name.
  67.  */
  68. #include <sys/param.h>
  69. #define N_SIO_DESCRIPTORS            NOFILE
  70.  
  71. /************************ SPRINT CONSTANTS ****************************/
  72.  
  73. /*
  74.  * SMALLEST_INT:     smallest integer the machine can represent
  75.  * S_SMALLEST_INT:   the smallest integer as a string
  76.  * S_SMALLEST_INT_LEN: length of string containing smallest integer
  77.  *
  78.  * These constants depend on the word size of the CPU and the
  79.  * type of arithmetic (1's or 2's complement).
  80.  */
  81.  
  82. #define SMALLEST_INT                (-2147483648)
  83. #define S_SMALLEST_INT              "2147483648"      /* note: no '-' sign */
  84. #define S_SMALLEST_INT_LEN          10
  85.  
  86. /*
  87.  * Define LONG_IS_BIGGER is sizeof( long ) != sizeof( int )
  88.  */
  89. #undef LONG_IS_BIGGER
  90.  
  91.